<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <!-- emmet语法生成css样式也可以,如tac -->
    <style>
      div {
        text-align: center;
        text-indent: 2em;
        width: 100px;
        height: 100px;
        line-height: 20px;
        text-decoration: none;
      }
    </style>
  </head>
  <body>
    <!-- 生成多个标签，标签名*生成数，如div*10 -->
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>

    <!-- 生成父子关系的标签，父标签>子标签,如div>p -->
    <div>
      <p></p>
    </div>

    <!-- 生成兄弟关系的标签,标签+标签，如div>p+p -->
    <div>
      <p></p>
      <p></p>
    </div>

    <!-- 生成带类名的标签,标签.类名,如div.demo -->
    <div class="demo"></div>

    <!-- 生成顺序类名，标签.类名$*数量，如div.demo$*5 -->
    <div class="demo1"></div>
    <div class="demo2"></div>
    <div class="demo3"></div>
    <div class="demo4"></div>
    <div class="demo5"></div>

    <!-- 生成标签内容，标签{内容},如div{233} -->
    <div>233</div>

    <!-- $符号为自增符号 -->
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
  </body>
</html>
